const Store = require('electron-store');

const store = new Store();

export const getParams = (key) => {
    if (key) {
        return store.get(key);
    } else {
        return null
    }

}

export const setParams = (key, value) => {
    if (key) {
        store.set(key, value || '');
    }

}
